<template>
	<view class="index-container">
		<Header :leftTitlePrimary="pageName"></Header>
		<view class="index-wrapper">
			<u-swiper height="350rpx" :list="bannerList" indicator indicatorMode="dot" circular></u-swiper>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				pageName: '首页',
				bannerList: [
					'https://cdn.uviewui.com/uview/swiper/swiper1.png',
					'https://cdn.uviewui.com/uview/swiper/swiper2.png',
					'https://cdn.uviewui.com/uview/swiper/swiper3.png',
				],
			}
		},
		created() {
			this.init()
		},
		methods: {
			init() {
				
			},
		}
	}
</script>

<style lang="scss">
	.index-container {
		min-height: 100vh;
		background-color: $old-bg-color;
		
		.index-wrapper {
			padding: 15px;
		}
	}
</style>